package com.benjaminwan.read.free.model.action

import com.benjaminwan.read.free.model.enums.ActionType
import com.squareup.moshi.JsonClass

@JsonClass(generateAdapter = true)
data class MouseMove @JvmOverloads constructor(
    val dx: Int = 0,
    val dy: Int = 0,
    override val actionType: ActionType = ActionType.MouseMove
) : Action() {

    override fun toString(): String {
        return "鼠标移动距离($dx,$dy)[取值范围-127~127]"
    }
}